package io.adrainty.bolee.security.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/9 下午11:22
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "角色管理")
@TableName("tab_role")
public class RoleBO extends BaseBO {

    @Serial
    private static final long serialVersionUID = -1273677192595512819L;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色标签")
    private String label;

    @Schema(description = "排序")
    private Integer sortNo;

    @Schema(description = "数据权限")
    private String dataScope;

    @Schema(description = "所属公司编号")
    private String companyNo;

    @Schema(description = "数据状态：0正常 1禁用")
    private EnableEnum dataState;

}
